package tech.tongyu.bob.demo.proxy.cglibproxy.service;

import org.springframework.stereotype.Service;

@Service
public class BookService {

     public  void addBook() {
        System.out.println("查看书是否存在");
        System.out.println("书籍数量加1");
        System.out.println("添加书籍");
        deleteBook();
    }


    public void deleteBook() {
        System.out.println("书籍数量减1");
        System.out.println("删除书籍");
    }
}
